GET api/tt_doc_sa/booking-report-resume?branch_name={branch_name}&dates[0]={dates[0]}&dates[1]={dates[1]}&close_sesion_only={close_sesion_only}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch_name

string

Required

dates

Collection of date

Required

close_sesion_only

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

Booking_Report_Resume_Response
NameDescriptionTypeAdditional information
list_sessions

Collection of Booking_Report_Session

None.

Response Formats

application/json, text/json

Sample:
{
  "list_sessions": [
    {
      "$id": "2",
      "id_pos_sesion": "27e36122-aff9-4cf1-8f48-3dbb7372f652",
      "nro_sesion": 2,
      "date_tax": "2026-11-05T05:23:42.7373552+01:00",
      "status_pos": 4,
      "date_open": "2026-11-05T05:23:42.7373552+01:00",
      "date_close": "2026-11-05T05:23:42.7373552+01:00",
      "event_locator": "sample string 6",
      "id_branch": "2d113cc9-77c6-4a1c-94a8-4edc869491ea",
      "branch_name": "sample string 8",
      "id_pos": "d3035d9b-6d13-4076-934d-106ef1775d4e",
      "pos_name": "sample string 10",
      "list_booking": [
        {
          "$id": "3",
          "id_pos_sesion": "82bf3595-9caa-404d-924c-89ba8c39f9d1",
          "id_room_unit_activity": "79090c4a-efdb-4883-9dfc-4354ab7b3c73",
          "external_reserve_id": "sample string 3",
          "id_branch": "f639a92a-c768-4c48-bda6-7a96c1b0afd8",
          "branch_name": "sample string 5",
          "id_pos": "f205fd1d-08ef-4013-95bf-4c64af6e96b7",
          "pos_name": "sample string 7",
          "id_room": "93482019-771a-4367-973c-ffd68e99426d",
          "room_name": "sample string 9",
          "id_room_unit": "e373a0f9-29e9-469d-a9c8-75647a86ac31",
          "room_unit_name": "sample string 11",
          "pax": 12,
          "client_name": "sample string 13",
          "id_employee_rrpp": "c8153ddd-ff08-4850-b36b-0fd58fe00a07",
          "id_employee_rrpp_sec": "482f94f1-19f8-4ef6-8d82-0deab0d859a7",
          "employee_rrpp_name": "sample string 16",
          "employee_rrpp_name_sec": "sample string 17",
          "count_doc": 18,
          "amt_tot": 19.1,
          "send": true,
          "send_date": "2026-11-05T05:23:42.7373552+01:00",
          "list_doc_sale": [
            {
              "$id": "4",
              "id_doc_sa": "2084314b-6b35-42d6-b7e0-75ac6a7300f6",
              "id_doc": "77bbb591-cc24-4f63-9c2b-c9dee195397a",
              "doc_name": "sample string 3",
              "doc_symbol": "sample string 4",
              "nro_doc": "sample string 5",
              "date_doc": "2026-11-05T05:23:42.7373552+01:00",
              "date_tax": "2026-11-05T05:23:42.7373552+01:00",
              "hour_doc": "00:00:00.1234567",
              "id_user": "c1071761-ccb2-406c-8715-9e965639141a",
              "user_name": "sample string 10",
              "amt_tot": 11.1,
              "amt_tot_doc": 12.1,
              "pay_type_name": "sample string 13",
              "list_det_doc": [
                {
                  "$id": "5",
                  "id_doc_sa": "16442424-2460-452d-80f9-415f437c3f75",
                  "id_line": 2,
                  "id_price_list": "17c1d982-3ba7-4906-9e20-607b5172739f",
                  "id_item_sub": "7023e790-7b39-49d7-9b0a-d50ec9871c70",
                  "id_item": "00c05726-c116-497b-8b72-90a1ca1e6a61",
                  "item_name": "sample string 6",
                  "id_item_type": "9db56b0e-3a94-46e6-b988-b574ff3c0fc5",
                  "item_type_name": "sample string 8",
                  "unit_price": 9.1,
                  "unit_price_original": 10.1,
                  "qty_item": 11.1,
                  "amt_tot": 12.1
                },
                {
                  "$ref": "5"
                }
              ],
              "list_pay_doc": [
                {
                  "$id": "6",
                  "id_doc_sa": "ee68031f-96d6-438a-b51d-ad518763bf89",
                  "id_line": 2,
                  "id_pay": "b81c6191-0039-4254-bde5-a737a26a2dc3",
                  "pay_name": "sample string 4",
                  "id_employee": "c0ce5b2a-d867-480d-a507-de1dba94fd89",
                  "employee_name": "sample string 5",
                  "id_money": "147aa5c4-ee95-4fc0-a72f-a60c31fa9c05",
                  "money_name": "sample string 7",
                  "symbol_money": "sample string 8",
                  "symbol_money_short": "sample string 9",
                  "amt_pay_mo": 10.1,
                  "amt_pay_md": 11.1
                },
                {
                  "$ref": "6"
                }
              ]
            },
            {
              "$ref": "4"
            }
          ],
          "list_pay_resume": [
            {
              "$id": "7",
              "id_pay": "af59019f-6f4f-4b11-bb27-dae7a0c2db7a",
              "pay_name": "sample string 2",
              "amt_tot": 3.1
            },
            {
              "$ref": "7"
            }
          ]
        },
        {
          "$ref": "3"
        }
      ],
      "list_zone_totals": [
        {
          "$id": "8",
          "date_tax": "2026-11-05T05:23:42.7373552+01:00",
          "id_room": "4648e404-0f35-4d21-aa8d-f86fc07c29f1",
          "room_name": "sample string 3",
          "amt_cash_card": 4.1,
          "amt_entries": 5.1,
          "amt_advance": 6.1,
          "amt_office": 7.1,
          "amt_cup_supplement": 8.1,
          "amt_invitation_rrpp": 9.1,
          "pax": 10,
          "amt_average": 11.1,
          "amt_total": 12.1
        },
        {
          "$ref": "8"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ]
}